package com.wyu.dao;

import com.wyu.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    public int saveOrder(Order order);

    public List<Order> queryOrders();

    public int changeOrderStatus(@Param("id") String id, @Param("status") Integer status);

    public List<Order> queryOrdersByUserId(Integer id);
}
